'''
* This is the projet for Brtc LlmOps Platform
* @Author Leon-liao <liaosiliang@alltman.com>
* @Description //TODO 
* @File: app_schema.py
* @Time: 2025/11/5
* @All Rights Reserve By Brtc
'''
from flask_wtf import FlaskForm
from wtforms.fields.simple import StringField
from wtforms.validators import DataRequired, Length


class CompletionReq(FlaskForm):
    query = StringField("query", validators=[
        DataRequired(message="用户提问是必须的！"),
        Length(max=100, message="问题最长不要超过100字")
    ])